package com.zipking.cloud.springbootmybatis.service;

import java.util.List;
import java.util.concurrent.Future;

public interface ThreadTableDataQuery<T> {

    /**
     * 线程池接口类 查询方法
     *
     * @param page
     * @param limit
     * @return
     * @throws Exception
     */
    public Future<List<T>> selectTableDataAsync(Integer page, Integer limit) throws Exception;

}
